Homemade Dictionary 1.3
Jun 2005
Author:Nitin Diwaker

Description
-------------------------
Welcome to this cool great and easy to use dictionary.
This has a host lot of advanced features,with music support even.

Quick Installation instruction:(UNIX/LINUX)
------------------------------------
1. Make sure you have JRE/JDK1.5 or above installed (Java Runtime Env.) 

2. Ensure that you postgresql server is installed and running.
    Incase you are unsure (try typing pgsql on a terminal)
    Incase you don't have Postgresql installed
    (*)check out ur installation CD,I am damn sure that u have it on CD's
    (*)else checkout www.postgresql.org
    (*)in case you don't want both try out Section  " Advance Users"

3. Good so you have postgresql server installed, now create a new database named dict.In case u dont know how to do it 
     login as root, type the following verbatim  (or simply run "runMeOnceOnly.sh")
     #service postgresql restart
     #su postgres  
     # createdb dict
     # adduser < your loginid >	
     #exit
************* runMeOnceOnly.sh contains all above statements

4. Now find out java/bin installation directory (usually /opt/jdkx.x...x/)
    and append it to your path,i.e
    $export PATH=$PATH:/opt/jdk1.5.0/bin               (reaplce by actual path)
5. Now you are almost done,type
     $./runalways.sh 
6. Hopefully it works

---------------------------------------------------
Advance Users
----------------------------------------------------
1. In case you don't have postgresql and you don't want to use it you may do the following
2. Run any DBMS server xxx (Eg. MySQL)
3. Locate JDBC driver for xxx on google
4. Download one and place in the directory where you find dict.jar
5. Create a new database named "dict" in that DBMS and ensure necessary permissions to access the same
6. append java/bin to ur path as done in previous section no.4
7 Now run:
   $java -cp . ConvertDB 
    Select choice as 3
8. Hopefully if it runs without error 
9. Now type on terminal :
    $java -jar dict.jar


--------------------------------------------------------
If everything above fails,you can recode the source as per your needs,it is well documneted and included for your convinience, or may be contact me, if get time I can surely help you out ;-).

--------------------------------------------------------

-------------------------------
Windows Installation
--------------------------------
You may have to do small workaround ( Or refer to subpoint 6)
1. Install JRE1.5.0 or above
2. Create an empty Microsoft Access database in the directory where you find dict.jar named "dict.mdb"
3. Create a new data source in Control Panel  under heading
    ODBC datasources,or in Administrative tools---->ODBC data sources(WIN XP)
    Click System DSN tab
    Click New
    Select driver : Microsoft Access Driver(*.mdb)
    Enter name:dict
    Now Locate & select the database as "dict.mdb". 
    OOPs done!
4. Now double click run.bat...................
5. Now double click: dict.jar 
    (JRE 1.5 associates jar files with javaw and can run them directly)
6.  :-( 

Unable to do these activities then I have a setup(MSI package for the same),just run it it will do everything for you and is the recommended choice for Winodws Users. Get it from

 http://www.geocities.com/diwakernitin
    
----------------------------------------------------------------------------------
You may also like to look help.pdf for further customizing the dictionary and features

Author: Nitin Diwaker
nitinatindore@rediffmail.com
2 Jul 2005
    



